<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>





























  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  <style type="text/css">
html { font-family: Arial,Helvetica,sans-serif;
background-color: white;
color: black;
}
p { max-width: 60em;
}
table { border-collapse: collapse;
empty-cells: show;
margin: 1em 0em;
border: 0.1em solid black;
}
th, td {
border-style: solid;
border-width: 0.05em 0.1em;
border-color: black;
padding: 0.1em 0.2em;
height: 1.5em;
}
th {
background-color: rgb(192, 192, 192);
color: black;
border-width: 0.1em;
font-weight: bold;
text-align: center;
text-transform: capitalize;
letter-spacing: 0.1em;
}
/* Widths of named columns */
col.name {
width: 10em;
}
.action , .value, .arg {
width: 15em;
}
/* Properties for the name column - td:first-child should work in CSS 2.1 avare browsers (tested in Firefox)
- col.name is against specs but works in IE
*/
td:first-child, col.name {
background-color: rgb(240, 240, 240);
text-transform: capitalize;
letter-spacing: 0.1em;
}
th { font-style: normal; } /* required for IE */
  </style>
  


  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  <title>Robot Test Cases</title><link type="text/css" href="resources/css/testdata.css" rel="stylesheet"></head>
<body>





























<h1>Robot Test Cases for Collections List Test Library</h1>





























<br>





























<table border="1">




























 <colgroup span="99"><col class="name"><col class="value" span="4"></colgroup> <thead>
  <tr>





























    <th>Setting</th>





























    <th>Value</th>





























    <th>Value</th>





























    <th>value</th>





























    <th>Value</th>





























  </tr>





























  </thead> <tbody>





























    <tr>





























      <td>Resource</td>





























      <td>atest_resource.txt</td>





























      <td></td>





























      <td></td>





























      <td></td>





























    </tr>





























    



    <tr>


















      <td align="undefined" valign="undefined">Document</td>


















      <td align="undefined" valign="undefined">Tests for Collections library's list functionality</td>


















      <td align="undefined" valign="undefined"></td>


















      <td align="undefined" valign="undefined"></td>


















      <td align="undefined" valign="undefined"></td>


















    </tr>


















    <tr>





























      <td>Force Tags</td>





























      <td>regression</td>





























      <td></td>

























      <td></td>





























      



      <td></td>





























    </tr>





























    



    <tr>













      <td align="undefined" valign="undefined">Default Tags</td>













      <td>jybot</td>













      <td>pybot</td>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













    </tr>













    <tr>





























      <td>Suite Setup</td>





























      <td>Run Tests</td>





























      <td>--loglevel DEBUG</td>





























      <td>standard_libraries${/}collections${/}list.html</td>





























      <td></td>





























    </tr>





























  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  </tbody>
</table>





























<br>





























<table border="1">





























  <colgroup span="99"><col class="name"><col class="value" span="4"></colgroup> <thead>
  <tr>





























    <th>Variable</th>





























    <th>Value</th>





























    <th>Value</th>





























    <th>Value</th>





























    <th>Value</th>





























  </tr>





























  </thead> <tbody>





























    <tr>





























      <td></td>





























      <td></td>





























      <td></td>





























      <td></td>





























      <td></td>





























    </tr>





























  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  </tbody>
</table>





























<br>





























<table border="1">





























  <colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
  <thead><tr>





























    <th>Test Case</th>





























    <th>Action</th>





























    <th>Argument</th>





























    <th>Argument</th>





























    <th>Argument</th>





























    





























  </tr>





























  </thead> <tbody>





























    





























    





























    





























    






    

































    





    






    





























    







































    


























    


























    





























    





























    




















    




























    





















    





















    





















    





















    





















    





















    









    




























    





























    





























    




























    





















    





















    





















    <tr>




















      <td align="undefined" valign="undefined">Convert To List</td>




















      <td>Check testcase</td>




















      <td>Convert To List</td>




















      <td></td>




















      <td align="undefined" valign="undefined"></td>




















      




















    </tr>




















    




















    <tr>




















      <td align="undefined" valign="undefined">Convert To List With Invalid Type</td>




















      <td align="undefined" valign="undefined">Check testcase</td>




















      <td align="undefined" valign="undefined">Convert To List With Invalid Type</td>




















      <td align="undefined" valign="undefined"></td>




















      <td align="undefined" valign="undefined"></td>




















      




















    </tr>




















    <tr>




























      <td></td>




























      <td></td>




























      <td></td>




























      <td></td>




























      <td></td>




























      




























    </tr>




























    <tr>





















      <td align="undefined" valign="undefined">Append To List</td>





















      <td>Check testcase</td><td>Append To List</td>





















      <td></td>





















      





















      <td align="undefined" valign="undefined"></td>





















      





















    </tr>





















    <tr>





















      <td align="undefined" valign="undefined"></td>





















      <td></td>












      <td></td>












      <td></td>





















      








      








      <td align="undefined" valign="undefined"></td>





















      





















    </tr>





















    <tr>




















      <td align="undefined" valign="undefined">Insert Into List With String Index</td>




















      <td align="undefined" valign="undefined">Check testcase</td>




















      <td align="undefined" valign="undefined">Insert Into List With String Index</td>




















      <td align="undefined" valign="undefined"></td>




















      <td align="undefined" valign="undefined"></td>




















      




















    </tr>




















    





















    <tr>





















      <td align="undefined" valign="undefined">Insert Into List With Int Index</td>





















      <td>Check testcase</td>





















      <td>Insert Into List With Int Index</td>





















      <td align="undefined" valign="undefined"></td>





















      <td align="undefined" valign="undefined"></td>





















      





















    </tr>





















    





















    <tr>





















      <td align="undefined" valign="undefined">Insert Into List With Index Over Lists Size</td>





















      <td align="undefined" valign="undefined">Check testcase</td>





















      <td align="undefined" valign="undefined">Insert Into List With Index Over Lists Size</td>





















      <td align="undefined" valign="undefined"></td>





















      <td align="undefined" valign="undefined"></td>





















      





















    </tr>





















    





















    <tr>





















      <td>Insert Into List With Index Negative Index</td>





















      <td>Check testcase</td>





















      <td>Insert Into List With Index Negative Index</td>





















      <td align="undefined" valign="undefined"></td>





















      <td align="undefined" valign="undefined"></td>





















      





















    </tr>





















    





















    <tr>





















      <td>Insert Into List With Index Under Lists Size</td>





















      <td align="undefined" valign="undefined">Check testcase</td>





















      <td align="undefined" valign="undefined">Insert Into List With Index Under Lists Size</td>





















      <td align="undefined" valign="undefined"></td>





















      <td align="undefined" valign="undefined"></td>





















      





















    </tr>





















    





















    <tr>





















      <td>Insert Into List With Invalid Index</td>





















      <td align="undefined" valign="undefined">Check testcase</td>





















      <td align="undefined" valign="undefined">Insert Into List With Invalid Index</td>





















      <td align="undefined" valign="undefined"></td>





















      <td align="undefined" valign="undefined"></td>





















      





















    </tr>





















    <tr>





















      <td align="undefined" valign="undefined"></td>





















      <td></td>





















      <td></td>





















      <td align="undefined" valign="undefined"></td>





















      <td align="undefined" valign="undefined"></td>





















      





















    </tr>





















    <tr>





















      <td align="undefined" valign="undefined">Combine Lists</td>





















      <td align="undefined" valign="undefined">Check testcase</td>





















      <td align="undefined" valign="undefined">Combine Lists</td>





















      <td align="undefined" valign="undefined"></td>





















      <td align="undefined" valign="undefined"></td>





















      





















    </tr>





















    <tr>





























      <td></td>





























      <td></td>





























      <td></td>





























      <td></td>





























      <td></td>





























      





























    </tr>





























    




    <tr>




























      <td>Set List Value</td>




























      <td>Check testcase</td>
























      <td>Set List Value</td>




























      <td></td>




























      <td></td>




























      




























    </tr>




























    




























    <tr>





























      <td>Set List Value Index Out Of List</td>





























      <td>Check testcase</td>





























      <td>Set List Value Index Out Of List</td>




























      <td></td>





























      <td></td>





























      





























    </tr>





























    <tr><td>Set List Value With Invalid Index</td><td>Check testcase</td><td>Set List Value With Invalid Index</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Remove Values From List</td><td>Check testcase</td><td>Remove Values From List</td><td></td><td></td></tr><tr><td>Remove Non Existing Values From List</td><td>Check testcase</td><td>Remove Non Existing Values From List</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Remove From List</td><td>Check testcase</td><td>Remove From List</td><td></td><td></td></tr>



























    






























    



























    <tr><td>Remove From List&nbsp;Index Out Of List</td><td>Check testcase</td><td>Remove From List&nbsp;Index Out Of List</td><td></td><td></td></tr><tr><td>Remove From List With Invalid Index</td><td>Check testcase</td><td>Remove From List With Invalid Index</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr>





























      <td>Count Values In List</td>





























      <td>Check testcase</td>





























      <td>Count Values In List</td>





























      <td></td>





























      <td></td>





























      





























    </tr>




































    






















    <tr>














      <td align="undefined" valign="undefined">Count Values In List With Invalid Start Index</td>














      <td>Check testcase</td>














      <td>Count Values In List With Invalid Start Index</td>














      <td align="undefined" valign="undefined"></td>














      <td align="undefined" valign="undefined"></td>














      














    </tr>














    














    <tr>






















      <td>Count Values In List With Invalid Stop Index</td>






















      <td>Check testcase</td>






















      <td>Count Values In List With Invalid Stop Index</td>






















      <td align="undefined" valign="undefined"></td>






















      <td align="undefined" valign="undefined"></td>






















      






















    </tr>




















    <tr>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













      













    </tr>













    <tr>













      <td align="undefined" valign="undefined">Get Index&nbsp;From List</td>













      <td align="undefined" valign="undefined">Check testcase</td>













      <td align="undefined" valign="undefined">Get Index&nbsp;From List</td>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













      













    </tr>













    













    <tr>













      <td align="undefined" valign="undefined">Get Index&nbsp;From List With Non Existing Value</td>













      <td align="undefined" valign="undefined">Check testcase</td>













      <td align="undefined" valign="undefined">Get Index&nbsp;From List With Non Existing Value</td>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













      













    </tr>













    













    <tr>













      <td align="undefined" valign="undefined">Get Index&nbsp;From List With&nbsp;Invalid Start Index</td>













      <td align="undefined" valign="undefined">Check testcase</td>













      <td align="undefined" valign="undefined">Get Index&nbsp;From List With&nbsp;Invalid Start Index</td>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













      













    </tr>













    













    <tr>













      <td align="undefined" valign="undefined">Get Index&nbsp;From List With Invalid Stop Index</td>













      <td align="undefined" valign="undefined">Check testcase</td>













      <td align="undefined" valign="undefined">Get Index&nbsp;From List With Invalid Stop Index</td>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













      













    </tr>













    <tr>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













      <td align="undefined" valign="undefined"></td>













      













    </tr>










    <tr>




      <td>Copy List</td>




      <td>Check testcase</td>




      <td>Copy List</td>




      <td></td>




      <td></td>




      




    </tr>




    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    


    

    

    
    
    
    

    

    

    

    

    

    
    

    

    

    

    








    
    <tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Reserve List</td><td>Check testcase</td><td>Reserve List</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Sort List</td><td>Check testcase</td><td>Sort List</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Get From List</td><td>Check testcase</td><td>Get From List</td><td></td><td></td></tr><tr><td>Get From List With Invalid Index</td><td>Check testcase</td><td>Get From List With Invalid Index</td><td></td><td></td></tr><tr><td>Get From List&nbsp;Out Of List Index</td><td>Check testcase</td><td>Get From List&nbsp;Out Of List Index</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Get Slice From List</td><td>Check testcase</td><td>Get Slice From List</td><td></td><td></td></tr><tr>










      <td>Get Slice From List&nbsp;With&nbsp;Invalid Start Index</td>










      <td>Check testcase</td>










      <td>Get Slice From List&nbsp;With&nbsp;Invalid Start Index</td>










      <td></td>










      <td></td>










      










    </tr>









    









    <tr>









      <td>Get Slice From List&nbsp;With Invalid Stop Index</td>









      <td>Check testcase</td>









      <td>Get Slice From List&nbsp;With Invalid Stop Index</td>









      <td></td>









      <td></td>









      









    </tr>









    









    <tr>









      <td>Get Slice From List With&nbsp;Out Of List Index</td>









      <td>Check testcase</td>









      <td>Get Slice From List With&nbsp;Out Of List Index</td>









      <td></td>









      <td></td>









      









    </tr>









    <tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>List Should Contain Value</td><td>Check testcase</td><td>List Should Contain Value</td><td></td><td></td></tr><tr><td>List Should Contain Value, Value Not Found</td><td>Check testcase</td><td>List Should Contain Value, Value Not Found</td><td></td><td></td></tr><tr><td>List Should Contain Value, Value Not Found and Own Error Message</td><td>Check testcase</td><td>List Should Contain Value, Value Not Found and Own Error Message</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>List Should Not Contain Value</td><td>Check testcase</td><td>List Should Not Contain Value</td><td></td><td></td></tr><tr><td>List Should Not Contain Value, Value Found</td><td>Check testcase</td><td>List Should Not Contain Value, Value Found</td><td></td><td></td></tr><tr><td>List Should Not Contain Value, Value Found and Own Error Message</td><td>Check testcase</td><td>List Should Not Contain Value, Value Found and Own Error Message</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>List Should Not Contain Duplicates With No Duplicates</td><td>Check testcase</td><td>List Should Not Contain Duplicates With No Duplicates</td><td></td><td></td></tr><tr><td>List Should Not Contain Duplicates Is Case And Space Sensitive</td><td>Check testcase</td><td>List Should Not Contain Duplicates Is Case And Space Sensitive</td><td></td><td></td></tr><tr><td>List Should Not Contain Duplicates With One Duplicate</td><td>${tc} =</td><td>Check testcase</td><td>List Should Not Contain Duplicates With One Duplicate</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[1].msgs[0]}</td><td>'item' found 2 times</td><td></td></tr><tr><td>List Should Not Contain Duplicates With Multiple Duplicates</td><td>${tc} =</td><td>Check testcase</td><td>List Should Not Contain Duplicates With Multiple Duplicates</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[1].msgs[0]}</td><td>'2' found 2 times</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[1].msgs[1]}</td><td>'None' found 2 times</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[1].msgs[2]}</td><td>'4' found 4 times</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[1].msgs[3]}</td><td>'[1, 2, 3]' found 2 times</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[1].msgs[4]}</td><td>'[]' found 10 times</td><td></td></tr><tr><td>List Should Not Contain Duplicates&nbsp;With Custom Error Message</td><td>${tc} =</td><td>Check testcase</td><td>List Should Not Contain Duplicates&nbsp;With Custom Error Message</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[2].msgs[0]}</td><td>'42' found 42 times</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr>









      <td>Lists Should Be&nbsp;Equal</td>









      <td>Check testcase</td>









      <td>Lists Should Be&nbsp;Equal</td>









      <td></td>









      <td></td>









      









    </tr>









    <tr><td>Lists Should Be&nbsp;equal With Different Lengths</td><td>Check testcase</td><td>Lists Should Be&nbsp;equal With Different Lengths</td><td></td><td></td></tr><tr><td>Lists Should Be&nbsp;equal With Different Lengths And Own Error Message</td><td>Check testcase</td><td>Lists Should Be&nbsp;equal With Different Lengths And Own Error Message</td><td></td><td></td></tr><tr><td>Lists Should Be&nbsp;equal With Different Lengths And Own And Default Error Messages</td><td>Check testcase</td><td>Lists Should Be&nbsp;equal With Different Lengths And Own And Default Error Messages</td><td></td><td></td></tr><tr><td>Lists Should Be&nbsp;equal With Different Values</td><td>Check testcase</td><td>Lists Should Be&nbsp;equal With Different Values</td><td></td><td></td></tr><tr><td>Lists Should Be&nbsp;equal With Different Values&nbsp;And Own Error Message</td><td>Check testcase</td><td>Lists Should Be&nbsp;equal With Different Values&nbsp;And Own Error Message</td><td></td><td></td></tr><tr><td>Lists Should Be&nbsp;equal With Different Values&nbsp;And Own And Default Error Messages</td><td>Check testcase</td><td>Lists Should Be&nbsp;equal With Different Values&nbsp;And Own And Default Error Messages</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>List Should Contain Sub List</td><td>Check testcase</td><td>List Should Contain Sub List</td><td></td><td></td></tr><tr><td>List Should Contain Sub List With Missing Values</td><td>Check testcase</td><td>List Should Contain Sub List With Missing Values</td><td></td><td></td></tr><tr><td>List Should Contain Sub List With Missing Values&nbsp;And Own Error Message</td><td>Check testcase</td><td>List Should Contain Sub List With Missing Values&nbsp;And Own Error Message</td><td></td><td></td></tr><tr><td>List Should Contain Sub List With Missing Values&nbsp;And Own and Default Error Messages</td><td>Check testcase</td><td>List Should Contain Sub List With Missing Values&nbsp;And Own and Default Error Messages</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Log List With Different Log Levels</td><td>${tc} = </td><td>Check testcase</td><td>Log List With Different Log Levels</td><td></td></tr><tr><td></td><td>${expected} =</td><td>Set Variable</td><td>List length is 3 and it contains following items:\n<br>0: 11\n<br>
1: 12\n<br>
2: 13</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[0].msgs[0]}</td><td>${expected}</td><td>INFO</td></tr><tr><td></td><td>Variable Should Not Exist</td><td>${tc.kws[1].msgs[0]}</td><td></td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[2].msgs[0]}</td><td>${expected}</td><td>WARN</td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[3].msgs[0]}</td><td>${expected}</td><td>DEBUG</td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[4].msgs[0]}</td><td>${expected}</td><td>INFO</td></tr><tr><td>Log List With Different Lists</td><td>${tc} = </td><td>Check testcase</td><td>Log List With Different Lists</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[0].msgs[0]}</td><td>List is empty<br></td><td>INFO</td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[1].msgs[0]}</td><td>List has one item:\n1</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[4].msgs[0]}</td><td>List length is 2 and it contains following items:\n<br>0: (1, 2, 3)\n<br>1: 3.12</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr>




















    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
    

    
    

    

    

    










  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  </tbody>
</table>





























<br>





























<table border="1">





























  <colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
  <thead><tr>





























    <th>Keyword</th>





























    <th>Action</th>





























    <th>Argument</th>





























    <th>Argument</th>





























    <th>Argument</th>





























  </tr>





























  </thead> <tbody>





























    



























    



























    



























    


    


    


    


    


    


    


    


    


    <tr>




      <td></td>




      <td></td>




      <td></td>




      <td></td>




      <td></td>




    </tr>





























  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  </tbody>
</table>





























</body></html>